package com.zhouyu.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class ClothesService {
	@Lazy
	private DressService dressService;
	@Value(value = "${dress.brand:Valentino}")
	private String brand;

	@Autowired
	private List<Brand> brands;

	@Autowired
	private Brand primaryBrand;

	@Autowired
	public void setDressService(DressService dressService) {
		this.dressService = dressService;
	}
}
